
/**
 * CriminalRecord class inherits the Record class which contains the information about the crime committed by the individual.
 * 
 * @param desc contains the description of the crime committed by the person
 * @status the status here is either captured or on the run
 * 
 */

package Data;

public class CriminalRecord extends Record{

	public String desc; // description of the status
	private String badgeID; // badge ID of the officer who created the criminal record
	
	public CriminalRecord(String recordID, String fName, String lName, String desc, String status, String badgeID)
	{
		super(recordID, fName, lName, status); // calls the constructor of the Record Class
		this.desc = desc;
		this.badgeID = badgeID;
	}
	
	
	// returns the entire criminal record
	public String getRecord() {
		return super.getRecord() + desc + badgeID;		
	}
	
		// get the record ID 
		public String getRecordID() {
			return super.getRecordID();
		}
		
		// get first name
		public String getFirstName() {
			return super.getFirstName();
		}
		
		// get last name
		public String getLastName() {
			return super.getLastName();
		}
		
		//get the status
		public String getStatus() {
			return super.getStatus();
		}
	// returns the description
	public String getDesc() {
		return desc;
	}
	
	// return the BadgeID
	public String getBadgeID() {
		return badgeID;				
	}
	
	public String toString()
	{
		return  "CRIMINAL RECORD :: RECORD ID:: " + recordID + 
				" FIRSTNAME :: " + fName + 
				" LASTNAME:: " + lName + 
				" DESCRIPTION :: " + desc + 
				" STATUS :: " + status+
				" BADGE ID:: " + badgeID; 
	}
}
